package uk.ac.open.kmi.dyniqx.wrappers;

public class QueryWrapper {

	private String query, source;
	private int totalResults, parsedResults;
	
	public QueryWrapper(String query, String source, int totalResults, int parsedResults) {
		this.setQuery(query);
		this.setSource(source);
		this.setTotalResults(totalResults);
		this.setParsedResults(parsedResults);
	}
	
	public void setQuery(String query) {
		this.query = query;
	}
	
	public String getQuery() {
		return this.query;
	}
	
	public void setSource(String source) {
		this.source = source;
	}
	
	public String getSource() {
		return this.source;
	}
	
	public void setTotalResults(int totalResults) {
		this.totalResults = totalResults;
	}
	
	public int getTotalResults() {
		return this.totalResults;
	}
	
	public void setParsedResults(int parsedResults) {
		this.parsedResults = parsedResults;
	}
	
	public int getParsedResults() {
		return this.parsedResults;
	}
	
	public String toString() {
		return "['" + this.getQuery() + "','" + this.getSource() + "'," + this.getTotalResults() 
			+ "," + this.getParsedResults() + "]";
	}

}
